Ultimate Adaptive Multi-Regime Trading System🧩 What is the UA-MTS Indicator?
UA-MTS is an intelligent trading indicator built for scalping, day trading, and adaptive decision-making. It analyzes price action, trend, volatility, volume, and patterns across multiple timeframes to give traders clear, context-aware buy and sell signals.
It’s like having a smart assistant on your chart that tells you:
What kind of market you’re in (trend, range, volatility, etc.)
What patterns are forming and how reliable they are
When a high-confidence trade opportunity appears
How far price might go next (via projection lines)
⚙️ What Does It Do?
Detects Market Regime
Identifies whether the market is Trending, Ranging, Volatile, Accumulating, or Distributing
Adjusts strategy logic based on the regime
Scans for Patterns
Finds smart price patterns (like engulfing, divergences, fractals, head & shoulders)
Evaluates pattern quality and importance
Uses AI-like Logic
Includes a mini neural network that digests market data and projects price movement
Confirms with Volume and Volatility
Filters out weak signals based on how strong the volume and volatility are
Gives Trade Signals
Shows Buy or Sell markers with scores and confidence %
Highlights high-quality trades with a star (★)
Visual Tools
Confidence bands (projected price range)
Prediction lines
Color-coded market regime
🕹 How to Use It (in TradingView)
Use the Regime Label
Bottom of chart will say "Regime: Trending (80%)" or similar
Trust trend signals more in Trending regime, reversal patterns more in Ranging
Enable Multi-Timeframe Analysis (optional)
It blends data from multiple timeframes (like 1m + 5m + 15m) to sharpen signal logic
Confirm Before Entering
Look at the Score and Confidence %
Use it with other tools like support/resistance or price structure for even better entries
📈 Best Use Cases
Scalping on 1m/5m/15m charts
Day trading breakouts or reversals
Filtering trades during sideways markets
Avoiding traps in high volatility
Projecting short-term price direction
Cerca negli script per "support resistance"
Volumetric Pivot Echo🔮 Volumetric Pivot Echo (VPE)
Future Price Projection Zones with Confidence Scoring
📘 Overview
The Volumetric Pivot Echo (VPE) is a next-generation leading indicator that identifies high-volume reversal points and echoes their price + time behavior into the future — giving you a visual forecast box that includes a confidence score, price range, and duration estimate.
It’s designed for swing and options traders who want forward guidance based on real structure, not just reactive signals.
⚙️ How It Works
Pivot Detection – Finds pivot highs/lows based on configurable bar structure.
Volume Confirmation – Only confirms pivots backed by strong volume (e.g., 1.5× average).
Echo Logic – Measures the price move and time it took to reach the pivot.
ATR Scaling – Adjusts projections based on current market volatility.
Confidence Score – Rates each projection (0–100%) based on structure match, volatility, and direction alignment.
📦 What Appears on Chart
Projection Box:
A forward-drawn rectangle from the current bar to the estimated future zone. The box's size and duration mirror the last valid momentum leg.
Box Label Text:
🔹 Range (projected move size)
⏱️ Duration (bars expected)
✅ Confidence %
VPH/VPL Markers:
Pivot highs and lows confirmed by volume, marked with “VPH” or “VPL”.
🎯 How to Trade with It
Use the box as a target zone for directional trades.
If price enters a box with >85% confidence, consider it a high-quality path projection.
Use with support/resistance confluence or entry systems.
Works especially well for swing trading, breakout setups, or options targeting.
🛠️ Recommended Settings
Box Transparency: Set Projection Up/Down Color to 90 (10% visible).
Text Color: Set to white for readability.
Volume Multiplier: Default 1.5x, increase in choppy markets.
Projection Duration: Start with 1.0x echo multiplier and fine-tune.
⏳ Timeframes & Accuracy
Timeframe Confidence Zones Most Reliable
15m – 1h Use 70–85% confidence scores
1h – 4h Sweet spot for balanced signals
1D – 1W Strongest historical echo tracking (>85% ideal)
✅ Key Features
Forward-looking, non-repainting logic
Clear visual projections — no guesswork
Confidence scoring built-in
ATR-adjusted — adapts to volatility
Works on any asset (stocks, crypto, FX)
🧠 Why It’s Unique
This is not a lagging oscillator or classic trend-following tool.
It’s a leading structure projection model — combining pivot behavior, volume intensity, and market volatility to sketch forward “echo zones” based on the past.
Atlas BBTlevelsAtlas BBTlevels is a custom Bollinger Bands-based indicator that measures the momentum and strength of price trends using the difference between short- and long-period Bollinger Bands. Inspired by John Bollinger’s official tools like BBTrend, %b, and Bandwidth, this script adds adjustable horizontal threshold levels so traders can mark important reaction zones on their charts.
It visualizes when markets may be entering overheated or exhausted conditions — either for trend continuation or potential reversals — and works across crypto, stocks, forex, spot, or perpetual charts.
How I personally use it:
I apply Atlas BBTlevels across three timeframes:
Low timeframe (LTF): 5m–15m
Mid timeframe (MTF): 1h–6h
High timeframe (HTF): 1d–2d
I review where the indicator historically spiked during major moves. For example, if the 4-hour chart shows repeated spikes to +10 or −10, I’ll set my positive and negative thresholds near those levels. This lets me anticipate zones where the market may reverse, cool off, or break out. I then compare LTF, MTF, and HTF levels to look for confluence. When multiple timeframes align near key levels, it gives me higher confidence to prepare for a trade — but I always combine this with price action and other confirmation tools.
How others can use it:
Identify overbought/oversold zones by adjusting the thresholds to match historical extremes on your chosen asset.
Use it as a trend strength gauge: when the histogram is near or above the top threshold, the trend is likely strong; when it fades back toward zero, momentum is weakening.
Watch for volatility expansions or contractions as the indicator accelerates away from or returns toward zero.
Combine it with price action (support/resistance, trendlines, chart patterns) or other momentum tools to reduce false signals.
Apply it across multiple timeframes to look for confluence — this increases reliability compared to using it on just one chart.
Important tips:
Positive spikes (above zero) usually indicate strength or overextension upward; negative spikes (below zero) show weakness or downward exhaustion.
You can reverse the color logic if you want (for example, highlight negative spikes as green for buy interest and positive spikes as red for sell interest) — this is just a visual preference.
This is not a standalone buy/sell system. Always combine it with other tools, market context, and risk management.
GM WeeklyThe GM Weekly indicator displays two key exponential moving averages — EMA 100 and EMA 200, both calculated from the daily (D) timeframe. These EMAs help traders identify long-term trend direction and potential support/resistance levels. The indicator plots both EMAs in purple to highlight key trend-following signals.
1H 200 EMA with Custom Bounce Signal1H 200 EMA with Bounce Signals ,, that's it
Can be use as support/resistance
Breakout Swing High LowThis open-source indicator identifies swing high and swing low breakouts, providing clear visual signals for potential trend entries. It is designed for traders who use price action to spot breakout opportunities in trending markets.
How It Works
Swing Detection: The indicator uses a user-defined lookback period (default: 4 candles) to identify swing highs (peaks) and swing lows (troughs). A swing high is confirmed when a candle's high is higher than the surrounding candles, and a swing low is confirmed when a candle's low is lower.
Breakout Signals: A green triangle below the candle signals a breakout above the most recent swing high, indicating a potential buy opportunity. A red triangle above the candle signals a breakout below the most recent swing low, indicating a potential sell opportunity. Each swing level triggers only one breakout signal to avoid clutter.
Visualization: Swing high levels are drawn as green dashed lines, and swing low levels as red dashed lines, extending 15 candles for clarity. Breakout signals are marked with small triangles.
How to Use
Apply the Indicator: Add the indicator to your TradingView chart.
Adjust Lookback: Set the "Lookback Candles" input (default: 4) to control the sensitivity of swing detection. Smaller values detect shorter-term swings, while larger values identify more significant levels.
Interpret Signals:
Green triangle (below candle): Consider a buy opportunity when price breaks above a swing high.
Red triangle (above candle): Consider a sell opportunity when price breaks below a swing low.
Combine with Other Tools: Use in conjunction with trend indicators (e.g., 50-period EMA) or support/resistance levels to filter signals in trending markets.
Timeframes: Works best on higher timeframes (e.g., 1H, 4H) in trending markets to avoid false breakouts in sideways conditions.
₿ober XM v1.3# ₿ober XM v1.3 Trading Bot Documentation
## Overview
The ₿ober XM v1.3 is an advanced dual-channel trading bot. It integrates multiple technical indicators, customizable risk management, and advanced order execution via webhook for automated trading. The bot's distinctive feature is its separate channel systems for long and short positions, allowing for asymmetric trade strategies that adapt to different market conditions.
### Key Features
- **Dual-Channel System**: Independent indicator settings for long and short positions
- **Multiple Entry Strategies**: Breakout, Pullback, and Mean Reversion options
- **Machine Learning Integration**: Predictive MLMA (Machine Learning Moving Average) for enhanced trend detection
- **Comprehensive Filtering**: Combines momentum, volatility, volume, and trend filters
- **Advanced Risk Management**: Dynamic position sizing, multiple stop-loss types, and trailing stops
- **Webhook Integration**: Direct connectivity to exchanges or third-party platforms
- **Configurable OBV MA Types**: Choose from multiple moving average types for OBV calculations
### General Settings
| Setting | Description | Default Value |
|---------|-------------|---------------|
| **Long Positions** | Enable or disable long trades | Enabled |
| **Short Positions** | Enable or disable short trades | Enabled |
| **Risk/Reward Area** | Visual display of stop-loss and take-profit zones | Enabled |
| **Long Entry Source** | Price data used for long entry signals | hl2 (High+Low/2) |
| **Short Entry Source** | Price data used for short entry signals | hl2 (High+Low/2) |
The bot allows you to trade long positions, short positions, or both simultaneously. Each direction has its own set of parameters, allowing for fine-tuned strategies that recognize the asymmetric nature of market movements.
### Webhook Configuration
| Setting | Description | Default Value |
|---------|-------------|---------------|
| **Long Entry Comment** | Webhook message for long entries | "ENTER-LONG" |
| **Short Entry Comment** | Webhook message for short entries | "ENTER-SHORT" |
| **Exit Comment** | Webhook message for position exits | "EXIT-ALL" |
| **Leverage** | Position size multiplier | 1.0 |
| **Reduce Only** | Restrict orders to reducing positions | Enabled |
| **Exchange Conditional Orders** | Place SL/TP directly on exchange | Disabled |
The webhook system allows for seamless integration with exchanges or third-party platforms:
- **Benefits**:
- Automated trade execution without manual intervention
- Immediate response to market conditions
- Consistent execution of your strategy
- **Implementation Notes**:
- Requires proper webhook configuration on your exchange or platform
- Test thoroughly with small position sizes before full deployment
- Consider latency between signal generation and execution
### Backtesting Period
Define a specific historical period to evaluate the bot's performance:
| Setting | Description | Default Value |
|---------|-------------|---------------|
| **Start Date** | Beginning of backtest period | January 1, 2025 |
| **End Date** | End of backtest period | December 31, 2026 |
- **Best Practice**: Test across different market conditions (bull markets, bear markets, sideways markets)
- **Limitation**: Past performance doesn't guarantee future results
## Entry and Exit Strategies
### Dual-Channel System
A key innovation of the Bober XM is its dual-channel approach:
- **Independent Parameters**: Each trade direction has its own channel settings
- **Asymmetric Trading**: Recognizes that markets often behave differently in uptrends versus downtrends
- **Optimized Performance**: Fine-tune settings for both bullish and bearish conditions
This approach allows the bot to adapt to the natural asymmetry of markets, where uptrends often develop gradually while downtrends can be sharp and sudden.
### Channel Types
#### 1. Keltner Channels
Traditional volatility-based channels using EMA and ATR:
| Setting | Long Default | Short Default |
|---------|--------------|---------------|
| **EMA Length** | 37 | 20 |
| **ATR Length** | 13 | 17 |
| **Multiplier** | 1.4 | 1.9 |
| **Source** | low | high |
- **Strengths**:
- Reliable in trending markets
- Less prone to whipsaws than Bollinger Bands
- Clear visual representation of volatility
- **Weaknesses**:
- Can lag during rapid market changes
- Less effective in choppy, non-trending markets
#### 2. Machine Learning Moving Average (MLMA)
Advanced predictive model using kernel regression (RBF kernel):
| Setting | Long Default | Short Default |
|---------|--------------|---------------|
| **Window Size** | 16 | 16 |
| **Forecast Length** | 3 | 3 |
| **Noise Parameter** | 0.43 | 0.44 |
| **Band Multiplier** | 0.6 | 0.5 |
| **Source** | low | high |
- **Strengths**:
- Predictive rather than reactive
- Adapts quickly to changing market conditions
- Better at identifying trend reversals early
- **Weaknesses**:
- More computationally intensive
- Requires careful parameter tuning
- Can be sensitive to input data quality
### Entry Strategies
| Strategy | Description | Ideal Market Conditions |
|----------|-------------|-------------------------|
| **Breakout** | Enters when price breaks through channel bands, indicating strong momentum | High volatility, emerging trends |
| **Pullback** | Enters when price retraces to the middle band after testing extremes | Established trends with regular pullbacks |
| **Mean Reversion** | Enters at channel extremes, betting on a return to the mean | Range-bound or oscillating markets |
#### Breakout Strategy (Default)
- **Implementation**: Enters long when price crosses above the upper band, short when price crosses below the lower band
- **Strengths**: Captures strong momentum moves, performs well in trending markets
- **Weaknesses**: Can lead to late entries, higher risk of false breakouts
- **Optimization Tips**:
- Increase channel multiplier for fewer but more reliable signals
- Combine with volume confirmation for better accuracy
#### Pullback Strategy
- **Implementation**: Enters long when price pulls back to middle band during uptrend, short during downtrend pullbacks
- **Strengths**: Better entry prices, lower risk, higher probability setups
- **Weaknesses**: Misses some strong moves, requires clear trend identification
- **Optimization Tips**:
- Use with trend filters to confirm overall direction
- Adjust middle band calculation for market volatility
#### Mean Reversion Strategy
- **Implementation**: Enters long at lower band, short at upper band, expecting price to revert to the mean
- **Strengths**: Excellent entry prices, works well in ranging markets
- **Weaknesses**: Dangerous in strong trends, can lead to fighting the trend
- **Optimization Tips**:
- Implement strong trend filters to avoid counter-trend trades
- Use smaller position sizes due to higher risk nature
### Confirmation Indicators
#### Pivot Point SuperTrend
Combines pivot points with ATR-based SuperTrend for trend confirmation:
| Setting | Default Value |
|---------|---------------|
| **Pivot Period** | 25 |
| **ATR Factor** | 2.2 |
| **ATR Period** | 41 |
- **Function**: Identifies significant market turning points and confirms trend direction
- **Implementation**: Requires price to respect the SuperTrend line for trade confirmation
#### Weighted Moving Average (WMA)
Provides additional confirmation layer for entries:
| Setting | Default Value |
|---------|---------------|
| **Period** | 15 |
| **Source** | ohlc4 (average of Open, High, Low, Close) |
- **Function**: Confirms trend direction and filters out low-quality signals
- **Implementation**: Price must be above WMA for longs, below for shorts
### Exit Strategies
#### On-Balance Volume (OBV) Based Exits
Uses volume flow to identify potential reversals:
| Setting | Default Value |
|---------|---------------|
| **Source** | ohlc4 |
| **MA Type** | HMA (Options: SMA, EMA, WMA, RMA, VWMA, HMA) |
| **Period** | 22 |
- **Function**: Identifies divergences between price and volume to exit before reversals
- **Implementation**: Exits when OBV crosses its moving average in the opposite direction
- **Customizable MA Type**: Different MA types provide varying sensitivity to OBV changes:
- **SMA**: Traditional simple average, equal weight to all periods
- **EMA**: More weight to recent data, responds faster to price changes
- **WMA**: Weighted by recency, smoother than EMA
- **RMA**: Similar to EMA but smoother, reduces noise
- **VWMA**: Factors in volume, helpful for OBV confirmation
- **HMA**: Reduces lag while maintaining smoothness (default)
#### ADX Exit Confirmation
Uses Average Directional Index to confirm trend exhaustion:
| Setting | Default Value |
|---------|---------------|
| **ADX Threshold** | 35 |
| **ADX Smoothing** | 60 |
| **DI Length** | 60 |
- **Function**: Confirms trend weakness before exiting positions
- **Implementation**: Requires ADX to drop below threshold or DI lines to cross
## Risk Management System
### Position Sizing
Automatically calculates position size based on account equity and risk parameters:
| Setting | Default Value |
|---------|---------------|
| **Risk % of Equity** | 50% |
- **Implementation**:
- Position size = (Account equity × Risk %) ÷ (Entry price × Stop loss distance)
- Adjusts automatically based on volatility and stop placement
- **Best Practices**:
- Start with lower risk percentages (1-2%) until strategy is proven
- Consider reducing risk during high volatility periods
### Stop-Loss Methods
Multiple stop-loss calculation methods with separate configurations for long and short positions:
| Method | Description | Configuration |
|--------|-------------|---------------|
| **ATR-Based** | Dynamic stops based on volatility | ATR Period: 14, Multiplier: 2.0 |
| **Percentage** | Fixed percentage from entry | Long: 1.5%, Short: 1.5% |
| **PIP-Based** | Fixed currency unit distance | 10.0 pips |
- **Implementation Notes**:
- ATR-based stops adapt to changing market volatility
- Percentage stops maintain consistent risk exposure
- PIP-based stops provide precise control in stable markets
### Trailing Stops
Locks in profits by adjusting stop-loss levels as price moves favorably:
| Setting | Default Value |
|---------|---------------|
| **Stop-Loss %** | 1.5% |
| **Activation Threshold** | 2.1% |
| **Trailing Distance** | 1.4% |
- **Implementation**:
- Initial stop remains fixed until profit reaches activation threshold
- Once activated, stop follows price at specified distance
- Locks in profit while allowing room for normal price fluctuations
### Risk-Reward Parameters
Defines the relationship between risk and potential reward:
| Setting | Default Value |
|---------|---------------|
| **Risk-Reward Ratio** | 1.4 |
| **Take Profit %** | 2.4% |
| **Stop-Loss %** | 1.5% |
- **Implementation**:
- Take profit distance = Stop loss distance × Risk-reward ratio
- Higher ratios require fewer winning trades for profitability
- Lower ratios increase win rate but reduce average profit
## Advanced Filtering System
### Momentum & Trend Filters
#### ADX Based Momentum Filter
| Setting | Default Value |
|---------|---------------|
| **Use Filter** | Enabled |
| **Apply D+/D- Check** | Enabled |
| **ADX Smoothing** | 34 |
| **DI Length** | 28 |
| **ADX Threshold** | 19 |
- **Function**: Ensures trades are taken only in strong trending conditions
- **Implementation**: Requires ADX above threshold for trade entry
#### RSI Filter
Uses Relative Strength Index to avoid overbought/oversold conditions:
| Setting | Default Value | Status |
|---------|---------------|--------|
| **RSI Period** | 14 | Disabled |
| **Overbought Level** | 70 | |
| **Oversold Level** | 30 | |
- **Function**: Prevents entries in potentially exhausted market conditions
- **Implementation**: Blocks long entries when RSI > 70, short entries when RSI < 30
### Volatility Filter
Controls trading during excessive market volatility:
| Setting | Default Value |
|---------|---------------|
| **Measure** | ATR |
| **Period** | 8 |
| **Threshold** | 1.3 |
| **Source** | ohlc4 |
- **Function**: Prevents trading during unpredictable market conditions
- **Implementation**: Blocks trades when current volatility exceeds threshold × average volatility
### Volume Filter
Ensures adequate market liquidity for trades:
| Setting | Default Value |
|---------|---------------|
| **Threshold** | 1.1× average |
| **Average Period** | 4 |
| **Smoothing Period** | 18 |
- **Function**: Prevents trading during low liquidity conditions
- **Implementation**: Requires current volume to exceed threshold × average volume
### Filter Combinations
The bot allows for simultaneous application of multiple filters:
- **Recommended Combinations**:
- Trending markets: ADX + Volume filters
- Ranging markets: Volatility + RSI filters
- All markets: Volume filter as minimum requirement
- **Performance Impact**:
- Each additional filter reduces the number of trades
- Quality of remaining trades typically improves
- Optimal combination depends on market conditions and timeframe
## Visual Indicators and Chart Analysis
The bot provides comprehensive visual feedback on the chart:
- **Channel Bands**: Keltner or MLMA bands showing potential support/resistance
- **Pivot SuperTrend**: Colored line showing trend direction and potential reversal points
- **Entry/Exit Markers**: Annotations showing actual trade entries and exits
- **Risk/Reward Zones**: Visual representation of stop-loss and take-profit levels
These visual elements allow for:
- Real-time strategy assessment
- Post-trade analysis and optimization
- Educational understanding of the strategy logic
## Implementation Guide
### TradingView Setup
1. Load the script in TradingView Pine Editor
2. Apply to your preferred chart and timeframe
3. Adjust parameters based on your trading preferences
4. Enable alerts for webhook integration
### Webhook Integration
1. Configure webhook URL in TradingView alerts
2. Set up receiving endpoint on your trading platform
3. Define message format matching the bot's output
4. Test with small position sizes before full deployment
### Optimization Process
1. Backtest across different market conditions
2. Identify parameter sensitivity through multiple tests
3. Focus on risk management parameters first
4. Fine-tune entry/exit conditions based on performance metrics
5. Validate with out-of-sample testing
## Performance Considerations
### Strengths
- Adaptability to different market conditions through dual channels
- Multiple layers of confirmation reducing false signals
- Comprehensive risk management protecting capital
- Machine learning integration for predictive edge
### Limitations
- Complex parameter set requiring careful optimization
- Potential over-optimization risk with so many variables
- Computational intensity of MLMA calculations
- Dependency on proper webhook configuration for execution
### Best Practices
- Start with conservative risk settings (1-2% of equity)
- Test thoroughly in demo environment before live trading
- Monitor performance regularly and adjust parameters
- Consider market regime changes when evaluating results
## Conclusion
The ₿ober XM v1.3 represents a sophisticated trading system combining traditional technical analysis with machine learning elements. Its dual-channel approach and comprehensive filtering system make it adaptable to various market conditions, while its risk management features help protect capital during adverse movements.
The addition of selectable OBV MA types in v1.3 provides further customization, allowing traders to fine-tune the exit strategy sensitivity according to market conditions and personal preferences. This enhancement offers more control over exit signals, potentially improving trade outcome profitability.
The bot is designed for traders who understand that no system is perfect, but that edge can be found through careful optimization and disciplined execution. With proper setup and realistic expectations, it provides a framework for systematic cryptocurrency trading across various market conditions.
2025 - Licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
Intraday Trading IndicatorIndicator Overview
Moving Averages: Uses a fast EMA (9-period) and a slow EMA (21-period) to determine the trend direction.
Market Profile Approximation: Utilizes VWAP (Volume Weighted Average Price) as a simplified proxy for value area, acting as a dynamic support/resistance level.
SMC: Incorporates the concept of trend confirmation and price interaction with key levels, focusing on pullbacks to the fast EMA within a trending market.
Signals: Generates buy and sell signals when price crosses the fast EMA, filtered by the trend (fast EMA vs. slow EMA) and VWAP position, aiming for high-probability setups.
This design ensures responsiveness on short timeframes while filtering out noise, aligning with the goal of accurate signals for intraday trading.
6 Moving Averages Difference TableIndicator Summary: 6 Moving Averages Difference Table (6MADIFF)
This TradingView indicator calculates and plots up to six distinct moving averages (MAs) directly on the price chart. Users have extensive control over each MA, allowing selection of:
Type: SMA, EMA, WMA, VWMA, HMA, RMA
Length: Any positive integer
Color: User-defined
Visibility: Can be toggled on/off
A core feature is the on-chart data table, designed to provide a quick overview of the relationships between the MAs and the price. This table displays:
$-MA Column: The absolute difference between the user-selected Input Source (e.g., Close, Open, HLC3) and the current value of each MA.
MA$ Column: The actual calculated price value of each MA for the current bar.
MA vs. MA Matrix: A grid showing the absolute difference between every possible pair of the calculated MAs (e.g., MA1 vs. MA2, MA1 vs. MA3, MA2 vs. MA5, etc.).
Customization Options:
Input Source: Select the price source (Open, High, Low, Close, HL2, HLC3, OHLC4) used for all MA calculations and the price difference column.
Table Settings: Control the table's visibility, position on the chart, text size, decimal precision for displayed values, and the text used for the column headers ("$-MA" and "MA$").
Purpose:
This indicator is useful for traders who utilize multiple moving averages in their analysis. The table provides an immediate, quantitative snapshot of:
How far the current price is from each MA.
The exact value of each MA.
The spread or convergence between different MAs.
This helps in quickly assessing trend strength, potential support/resistance levels based on MA clusters, and the relative positioning of short-term versus long-term averages.
[blackcat] L3 Adaptive Trend SeekerOVERVIEW
The indicator is designed to help traders identify dynamic trends in various markets efficiently. It employs advanced calculations including Dynamic Moving Averages (DMAs) and multiple moving averages to filter out noise and provide clear buy/sell signals 📈✨. By utilizing innovative algorithms that adapt to changing market conditions, this tool enables users to make informed decisions across different timeframes and asset classes.
This versatile indicator serves both novice and experienced traders seeking reliable ways to navigate volatile environments. Its primary objective is to simplify complex trend analysis into actionable insights, making it an indispensable addition to any trader’s arsenal ⚙️🎯.
FEATURES
Customizable Dynamic Moving Average: Calculates an adaptive moving average tailored to specific needs using customizable coefficients.
Trend Identification: Utilizes multi-period moving averages (e.g., short-term, medium-term, long-term) to discern prevailing trends accurately.
Crossover Alerts: Provides visual cues via labels when significant crossover events occur between key indicators.
Adjusted MA Plots: Displays steplines colored according to the current trend direction (green for bullish, red for bearish).
Historical Price Analysis: Analyzes historical highs and lows over specified periods, ensuring robust trend identification.
Conditional Signals: Generates bullish/bearish conditions based on predefined rules enhancing decision-making efficiency.
HOW TO USE
Script Installation:
Copy the provided code and add it under Indicators > Add Custom Indicator within TradingView.
Choose an appropriate name and enable it on your desired charts.
Parameter Configuration:
Adjust the is_trend_seeker_active flag to activate/deactivate the core functionality as needed.
Modify other parameters such as smoothing factors if more customized behavior is required.
Interpreting Trends:
Observe the steppled lines representing the long-term/trend-adjusted moving averages:
Green indicates a bullish trend where prices are above the dynamically calculated threshold.
Red signifies a bearish environment with prices below respective levels.
Pay attention to labels marked "B" (for Bullish Crossover) and "S" (for Bearish Crossover).
Signal Integration:
Incorporate these generated signals within broader strategies involving support/resistance zones, volume data, and complementary indicators for stronger validity.
Use crossover alerts responsibly by validating them against recent market movements before execution.
Setting Up Alerts:
Configure alert notifications through TradingView’s interface corresponding to crucial crossover events ensuring timely responses.
Backtesting & Optimization:
Conduct extensive backtests applying diverse datasets spanning varied assets/types verifying robustness amidst differing conditions.
Refine parameters iteratively improving overall effectiveness and minimizing false positives/negatives.
EXAMPLE SCENARIOS
Swing Trading: Employ the stepline crossovers coupled with momentum oscillators like RSI to capitalize on intermediate trend reversals.
Day Trading: Leverage rapid adjustments offered by short-medium term MAs aligning entries/exits alongside intraday volatility metrics.
LIMITATIONS
The performance hinges upon accurate inputs; hence regular recalibration aligning shifting dynamics proves essential.
Excessive reliance solely on this indicator might lead to missed opportunities especially during sideways/choppy phases necessitating additional filters.
Always consider combining outputs with fundamental analyses ensuring holistic perspectives while managing risks effectively.
NOTES
Educational Resources: Delve deeper into principles behind dynamic moving averages and their significance in technical analysis bolstering comprehension.
Risk Management: Maintain stringent risk management protocols integrating stop-loss/profit targets safeguarding capital preservation.
Continuous Learning: Stay updated exploring evolving financial landscapes incorporating new methodologies enhancing script utility and relevance.
THANKS
Thanks to all contributors who have played vital roles refining and optimizing this script. Your valuable feedback drives continual enhancements paving way towards superior trading experiences!
Happy charting, and here's wishing you successful ventures ahead! 🌐💰!
Trend Classifier [ChartPrime]Trend Classifier
This is a multi-level trend classification tool that detects bullish, bearish, and ranging conditions using an adaptive smoothing method. It highlights trend strength through color-coded candles and layered bands, making it easy to interpret market momentum visually.
⯁ KEY FEATURES
Classifies trend strength using 3 bullish and 3 bearish levels relative to an adaptive trend line.
Neutral (range) zones are marked when price stays between key bands, often signaling low volatility or consolidation.
Automatically filters band visibility based on current trend direction:
In uptrends, only levels below the price are displayed.
In downtrends, only levels above the price are shown.
Color-coded candles:
Aqua candles for bullish conditions.
Red candles for bearish conditions.
Orange candles during neutral or ranging conditions.
Includes a trend direction change marker (diamond), plotted when a shift in trend is detected.
Plots a central smoothed trend line to anchor the trend bands dynamically.
Displays a trend strength dashboard in the top-right corner with real-time bull and bear scores (0 to 3).
Labels with arrows (▲/▼) show current trend direction and strength on the chart.
⯁ HOW TO USE
Use bull and bear levels (1–3) to assess the momentum of the current trend.
When bull = 0 and bear = 0 , market is considered ranging or consolidating – consider fading or waiting for breakout confirmation.
Trend bands can be used as dynamic support/resistance during trending phases.
Monitor the trend change diamonds to spot potential early reversals.
Combine with volume or oscillator tools for confirmation of strength shifts.
⯁ CONCLUSION
Trend Classifier helps traders stay aligned with the dominant trend while visually breaking down market momentum into levels. Its clean color-coded design and strength dashboard make it ideal for both trend following and range trading strategies.
Dual ATR TargetsATR Distance Markers with Percentage Display
This powerful indicator visually displays dynamic support/resistance levels based on the ATR Trailing Stop, while providing clear percentage-based distance measurements to help traders assess risk/reward ratios at a glance.
Key Features:
🔹 Dual Distance Markers - Track two customizable distance multiples (default: 1.0x and 0.35x ATR)
🔹 Percentage-First Display - Shows percentage distances first (more intuitive for multi-timeframe analysis) with exact price differences in parentheses
🔹 Current + Previous Candle Data - Compare current levels with previous candle's values for trend confirmation
🔹 Clean Visual Presentation - Grey info box with white text for optimal readability
🔹 Customizable Settings - Adjust ATR period, multiplier, colors, and visibility
How Traders Use It:
✅ Identify potential profit targets based on volatility-adjusted distances
✅ Gauge stop-loss placement with percentage-based risk assessment
✅ Compare current vs. previous candle distances for momentum shifts
✅ Maintain consistent risk parameters across different instruments
Input Parameters:
ATR Period (default 14)
ATR Multiplier (default 1.1)
Two fully configurable distance markers
Custom colors for each marker
Perfect For:
• Swing traders looking for volatility-based targets
• Position traders managing risk across timeframes
• Anyone who prefers percentage-based analysis over fixed price distances
The indicator plots circular markers (blue) and cross markers (red) at your specified distances from the ATR trailing stop, while the info box keeps all critical data organized in one corner of your chart.
Pro Tip: Combine with trend analysis tools - the distances become more reliable when trading in the direction of the prevailing trend. The percentage display helps maintain consistent position sizing across different priced instruments.
Pivot Candle PatternsPivot Candle Patterns Indicator
Overview
The PivotCandlePatterns indicator is a sophisticated trading tool that identifies high-probability candlestick patterns at market pivot points. By combining Williams fractals pivot detection with advanced candlestick pattern recognition, this indicator targets the specific patterns that statistically show the highest likelihood of signaling reversals at market tops and bottoms.
Scientific Foundation
The indicator is built on extensive statistical analysis of historical price data using a 42-period Williams fractal lookback period. Our research analyzed which candlestick patterns most frequently appear at genuine market reversal points, quantifying their occurrence rates and subsequent success in predicting reversals.
Key Research Findings:
At Market Tops (Pivot Highs):
- Three White Soldiers: 28.3% occurrence rate
- Spinning Tops: 13.9% occurrence rate
- Inverted Hammers: 11.7% occurrence rate
At Market Bottoms (Pivot Lows):
- Three Black Crows: 28.4% occurrence rate
- Hammers: 13.3% occurrence rate
- Spinning Tops: 13.1% occurrence rate
How It Works
1. Pivot Point Detection
The indicator uses a non-repainting implementation of Williams fractals to identify potential market turning points:
- A pivot high is confirmed when the middle candle's high is higher than surrounding candles within the lookback period
- A pivot low is confirmed when the middle candle's low is lower than surrounding candles within the lookback period
- The default lookback period is 2 candles (user adjustable from 1-10)
2. Candlestick Pattern Recognition
At identified pivot points, the indicator analyzes candle properties using these parameters:
- Body percentage threshold for Spinning Tops: 40% (adjustable from 10-60%)
- Shadow percentage threshold for Hammer patterns: 60% (adjustable from 40-80%)
- Maximum upper shadow for Hammer: 10% (adjustable from 5-20%)
- Maximum lower shadow for Inverted Hammer: 10% (adjustable from 5-20%)
3. Pattern Definitions
The indicator recognizes these specific patterns:
Single-Candle Patterns:
- Spinning Top : Small body (< 40% of total range) with significant upper and lower shadows (> 25% each)
- Hammer : Small body (< 40%), very long lower shadow (> 60%), minimal upper shadow (< 10%), closing price above opening price
- Inverted Hammer : Small body (< 40%), very long upper shadow (> 60%), minimal lower shadow (< 10%)
Multi-Candle Patterns:
- Three White Soldiers : Three consecutive bullish candles, each closing higher than the previous, with each open within the previous candle's body
- Three Black Crows : Three consecutive bearish candles, each closing lower than the previous, with each open within the previous candle's body
4. Visual Representation
The indicator provides multiple visualization options:
- Highlighted candle backgrounds for pattern identification
- Text or dot labels showing pattern names and success rates
- Customizable colors for different pattern types
- Real-time alert functionality on pattern detection
- Information dashboard displaying pattern statistics
Why It Works
1. Statistical Edge
Unlike traditional candlestick pattern indicators that simply identify patterns regardless of context, PivotCandlePatterns focuses exclusively on patterns occurring at statistical pivot points, dramatically increasing signal quality.
2. Non-Repainting Design
The pivot detection algorithm only uses confirmed data, ensuring the indicator doesn't repaint or provide false signals that disappear on subsequent candles.
3. Complementary Pattern Selection
The selected patterns have both:
- Statistical significance (high frequency at pivots)
- Logical market psychology (reflecting institutional supply/demand changes)
For example, Three White Soldiers at a pivot high suggests excessive bullish sentiment reaching exhaustion, while Hammers at pivot lows indicate rejection of lower prices and potential buying pressure.
Practical Applications
1. Reversal Trading
The primary use is identifying potential market reversals with statistical probability metrics. Higher percentage patterns (like Three White Soldiers at 28.3%) warrant more attention than lower probability patterns.
2. Confirmation Tool
The indicator works well when combined with other technical analysis methods:
- Support/resistance levels
- Trend line breaks
- Divergences on oscillators
- Volume analysis
3. Risk Management
The built-in success rate metrics help traders properly size positions based on historical pattern reliability. The displayed percentages reflect the probability of the pattern successfully predicting a reversal.
Optimized Settings
Based on extensive testing, the default parameters (Body: 40%, Shadow: 60%, Shadow Maximums: 10%, Lookback: 2) provide the optimal balance between:
- Signal frequency
- False positive reduction
- Early entry opportunities
- Pattern clarity
Users can adjust these parameters based on their timeframe and trading style, but the defaults represent the statistically optimal configuration.
Complementary Research: Reclaim Analysis
Additional research on "reclaim" scenarios (where price briefly breaks a level before returning) showed:
- Fast reclaims (1-2 candles) have 70-90% success rates
- Reclaims with increasing volume have 53.1% success rate vs. decreasing volume at 22.6%
This complementary research reinforces the importance of candle patterns and timing at critical market levels.
MACD+RSI Cross Alert – Clean Signal by TFGMACD + RSI Cross Alert (Lightweight & Clean Visuals)
This script highlights potential momentum shifts using MACD line crossovers with RSI confirmation.
Clean, minimal ▲▼ markers make it suitable for any chart setup.
▲ Upward Marker: When MACD line crosses above signal line and RSI is above 50
▼ Downward Marker: When MACD line crosses below signal line and RSI is below 50
Signals are semi-transparent and offset for visual clarity
Compatible with any timeframe and symbol
🔰 For beginners:
These markers may suggest trend initiation or a momentum shift.
They can serve as timing references when used with support/resistance zones or moving averages.
MACD+RSIクロス マーカー(軽量・視認性重視)
このスクリプトは、MACDのクロスとRSIの方向をもとに、勢いの変化を示すマーカーを表示します。
チャートを邪魔しない小さな▲▼のみ表示され、シンプルで軽量な構成です。
▲ 上向きマーカー:MACDがシグナルを上抜け、かつRSIが50より上の場合
▼ 下向きマーカー:MACDがシグナルを下抜け、かつRSIが50より下の場合
半透明かつオフセット配置で視認性を確保
すべての時間足・銘柄に対応
🔰 初心者向け補足:
このマーカーは、トレンドの始まりや勢いの変化の可能性を示します。
サポートライン・移動平均などと組み合わせて、タイミングの参考として活用できます。
Opening Range Breakout Cloud Indicator by TenAMTraderOpening Range Breakout Cloud Indicator – by TenAMTrader
This indicator visually maps out the Opening Range of the trading day — the price high and low between a configurable start and end time (default: 9:30 AM–10:00 AM EST). It helps traders identify breakout levels, key intraday zones, and price behavior relative to the early range.
🔹 What It Shows:
Opening High, Low, and Midpoint lines for each day.
Clouds between the midpoint and high/low for visual clarity.
Optional Second Range (e.g., 9:30–9:45 AM) for more aggressive early signals.
Historical Ranges are preserved, allowing you to view previous days' levels on the chart.
Custom Alerts when price crosses the Opening High, Low, or Midpoint.
Full customization: colors, range times, and display toggles.
🔔 Use It For:
Spotting breakouts or rejections at key levels.
Finding early support/resistance zones.
Planning trades using intraday structure.
⚠️ Use this tool as part of a broader trading strategy. No indicator guarantees results — always trade at your own discretion.
Climax Detector (Buy & Sell)This indicator identifies potential Buying Climax (BC) and Selling Climax (SC) events based on volume spikes relative to historical averages.
• Buying Climax (BC):
• Detected when a green candle forms with volume significantly higher than the average (default: 2×).
• Often signals the end of an uptrend or distribution phase.
• Selling Climax (SC):
• Detected when a red candle forms with very high volume (default: 2× average).
• Often occurs at the end of a downtrend, suggesting panic selling and potential accumulation.
How it works:
• Calculates a moving average of volume over a user-defined period (default: 20 candles)
• Flags a climax when current volume exceeds the defined multiplier (default: 2.0×)
• Marks:
• BC with an orange triangle above the bar
• SC with a fuchsia triangle below the bar
Customizable Settings:
• Volume spike sensitivity
• Lookback period for average volume
Use Cases:
• Spot possible trend exhaustion
• Confirm Wyckoff phases
• Combine with support/resistance for reversal entries
Disclaimer: This tool is designed to assist in identifying high-probability exhaustion zones but should be used alongside other confirmations or strategies.
Price OI Division Price OI Division Indicator
Overview
The Price OI Division indicator (`P_OI_D`) is a custom TradingView script designed to analyze the relationship between price momentum and open interest (OI) momentum. It visualizes the divergence between these two metrics using a modified MACD (Moving Average Convergence Divergence) approach, normalized to percentage values. The indicator is plotted as a histogram and two lines (MACD and Signal), with color-coded signals for easier interpretation.
Key Features
- Normalized Price MACD : Compares short-term and long-term price momentum.
- OI-Adjusted MACD : Incorporates open interest data to reflect market positioning.
- Divergence Histogram : Highlights the difference between price and OI momentum.
- Signal Line : Smoothed EMA of the divergence for trend confirmation.
- Threshold Lines : Horizontal reference lines at ±10% and 0 for quick visual analysis.
Interpretation Guide
- Bullish Signal :
Histogram turns red (positive & increasing).
MACD (red line) crosses above Signal (blue line).
Divergence above +10% indicates extreme bullish conditions.
- Bearish Signal :
Histogram turns green (negative & increasing).
MACD (lime line) crosses below Signal (maroon line).
Divergence below -10% indicates extreme bearish conditions.
- Neutral/Reversal :
Histogram fading (teal/pink) suggests weakening momentum.
Crossings near the Zero Line may signal trend shifts.
Usage Notes
Asset Compatibility : Works best with futures/perpetual contracts where OI data is available.
Timeframe : Suitable for all timeframes, but align `fastLength`/`slowLength` with your strategy.
Data Limitations : Relies on exchange-specific OI symbols (e.g., `BTC:USDT.P_OI`). Verify data availability for your asset.
Confirmation : Pair with volume analysis or support/resistance levels for higher accuracy.
Disclaimer
This indicator is for educational purposes only. Trading decisions should not be based solely on this tool. Always validate signals with additional analysis and risk management.
True Range Orginal📌 Description – True Range Original
This indicator calculates the range (price spread) of the last N candles and displays it directly on the chart, along with suggested dynamic stop-loss levels based on recent volatility. Ideal for scalpers and day traders working on short timeframes such as 1-minute charts.
🔍 Features:
Calculates the difference between the highest high and lowest low of the last N bars (default: 15).
Plots a floating label with the current range value, updated every 5 candles.
Displays 4 dynamic stop levels:
For long positions:
Stop at 1x range (green line)
Stop at 1.5x range (light green line)
For short positions:
Stop at 1x range (red line)
Stop at 1.5x range (dark red line)
⚙️ Inputs:
Range period (number of bars)
Stop multiplier 1 (default: 1.0)
Stop multiplier 2 (default: 1.5)
📈 Usage:
This tool helps you size your stop-loss dynamically based on recent price action instead of using fixed values. It can be used alone or in combination with other tools like support/resistance, volume, or aggression indicators.
Multi Candle Engulfing Detector🔍 Multi Candle Engulfing Detector
This indicator identifies powerful engulfing candles that consume three or more previous candles — a signal often tied to strong market reversals or continuation moves.
🧠 Features
Detects candles that fully engulf the previous 3 or more candles
Optional filtering: only trigger when the engulfed candles are of the opposite color
Customizable engulf count for greater pattern control
Clear bullish and bearish signal labels on the chart
Alerts integrated: get notified the moment a setup forms
Background highlighting for enhanced visibility
⚙️ Settings
Minimum Number of Candles to Engulf: Default is 3, but can be adjusted
Require Opposite Color: When enabled, the engulfing candle must be opposite in color to the engulfed ones (e.g., green engulfing red)
📈 Use Cases
Spot strong reversal signals at tops and bottoms
Confirm breakout momentum on trend continuation
Use in confluence with other tools like volume or support/resistance
🚨 Alerts
Alerts fire when a bullish or bearish engulfing pattern is detected, allowing for mobile, email, or webhook notifications.
✅ Notes
This script is fully customizable and can be extended into a strategy or scanning tool. Feedback and suggestions are always welcome!
Smart Adaptive MACDAn advanced MACD variant that dynamically adapts to market volatility using ATR-based scaling.
Key Features:
Volatility-sensitive MACD and Signal lengths
Optional smoothed MACD line
Dynamic histogram heatmap (strong vs. weak momentum)
Built-in Regular and Hidden Divergence detection
Clear visual signals via solid (regular) and dashed (hidden) divergence lines
What makes this different:
Unlike traditional MACD indicators with fixed-length settings, this version adapts in real time
to changing volatility conditions. It shortens during high-momentum environments for faster
reaction, and lengthens during low-volatility phases to reduce noise. This allows better
alignment with market behavior and cleaner momentum signals.
Divergence Detection – How It Works
The Smart Adaptive MACD detects both regular and hidden divergences by comparing price action with the smoothed MACD line. It uses recent pivot highs and lows to evaluate divergence and draws lines on the chart when conditions are met.
Regular Divergence Detection
This type of divergence signals potential reversals. It occurs when the price moves in one
direction while the MACD moves in the opposite.
Bullish Regular Divergence:
Price makes lower lows, but MACD makes higher lows.
Result: A solid green line is plotted beneath the MACD curve.
Bearish Regular Divergence:
Price makes higher highs, but MACD makes lower highs.
Result: A solid red line is plotted above the MACD curve.
Hidden Divergence Detection
This type of divergence signals trend continuation. It occurs when price pulls back slightly,
but the MACD shows deeper movement in the opposite direction.
Bullish Hidden Divergence:
Price makes higher lows, but MACD makes lower lows.
Result: A dashed green line is plotted below the MACD curve.
Bearish Hidden Divergence:
Price makes lower highs, but MACD makes higher highs.
Result: A dashed red line is plotted above the MACD curve.
How to Use:
This tool is best used alongside price structure, key support/resistance levels, or as a
secondary confirmation for your trend or reversal strategy. It is designed to enhance your
interpretation of market momentum and divergence without needing extra chart clutter.
Disclaimer:
This script is provided for educational and informational purposes only. It is not intended as
financial advice or a recommendation to buy or sell any asset. Always conduct your own
research and consult with a licensed financial advisor before making trading decisions. Use
at your own risk.
License:
This script is published under the Mozilla Public License 2.0 and is fully open-source.
Built by AresIQ | 2025
Rate of Change HistogramExplanation of Modifications
Converting ROC to Histogram:
Original ROC: The ROC is calculated as roc = 100 * (source - source ) / source , plotted as a line oscillating around zero.
Modification: Instead of plotting roc as a line, it’s now plotted as a histogram using style=plot.style_columns. This makes the ROC values visually resemble the MACD histogram, with bars extending above or below the zero line based on momentum.
Applying MACD’s Four-Color Scheme:
Logic: The histogram’s color is determined by:
Above Zero (roc >= 0): Bright green (#26A69A) if ROC is rising (roc > roc ), light green (#B2DFDB) if falling (roc < roc ).
Below Zero (roc < 0): Bright red (#FF5252) if ROC is falling (roc < roc ), light red (#FFCDD2) if rising (roc > roc ).
Implementation: Used the exact color logic and hex codes from the MACD code, applied to the ROC histogram. This highlights momentum ebbs (falling ROC, fading waves) and flows (rising ROC, strengthening waves).
Removing Signal Line:
Unlike the previous attempt, no signal line is added. The histogram is purely the ROC value, ensuring it directly reflects price change momentum without additional smoothing, making it faster and more responsive to pulse waves, as you indicated ROC performs better than other oscillators.
Alert Conditions:
Added alerts to match the MACD’s logic, triggering when the ROC histogram crosses the zero line:
Rising to Falling: When roc >= 0 and roc < 0, signaling a potential wave peak (e.g., end of Wave 3 or C).
Falling to Rising: When roc <= 0 and roc > 0, indicating a potential wave bottom (e.g., start of Wave 1 or rebound).
These alerts help identify transitions in 3-4 wave pulse patterns.
Plotting:
Histogram: Plotted as columns (plot.style_columns) with the four-color scheme, directly representing ROC momentum.
Zero Line: Kept the gray zero line (#787B86) for reference, consistent with the MACD.
Removed ROC Line/Signal Line: Since you want the ROC to act as the histogram itself, no additional lines are plotted.
Inputs:
Retained the original length (default 9) and source (default close) inputs for consistency.
Removed signal-related inputs (e.g., signal_length, sma_signal) as they’re not needed for a pure ROC histogram.
How This ROC Histogram Works for Wave Pulses
Wave Alignment:
Above Zero (Bullish Momentum): Positive ROC bars indicate flows (e.g., impulse Waves 1, 3, or rebounds in Wave B/C). Bright green bars show accelerating momentum (strong pulses), while light green bars suggest fading momentum (potential wave tops).
Below Zero (Bearish Momentum): Negative ROC bars indicate ebbs (e.g., corrective Waves 2, 4, A, or C). Bright red bars show increasing bearish momentum (strong pullbacks), while light red bars suggest slowing declines (potential wave bottoms).
3-4 Wave Pulses:
In a 3-wave A-B-C correction: Wave A (down) shows bright red bars (falling ROC), Wave B (up) shows bright/light green bars (rising ROC), and Wave C (down) shifts back to red bars.
In a 4-wave consolidation: Alternating green/red bars highlight the rhythmic ebbs and flows as momentum oscillates.
Timing:
Zero-line crossovers mark wave transitions (e.g., from Wave 2 to Wave 3).
Color changes (e.g., bright to light green) signal momentum shifts within waves, helping identify pulse peaks/troughs.
Advantages Over MACD:
The ROC histogram is more responsive than the MACD histogram because ROC directly measures price change percentage, while MACD relies on moving average differences, which introduce lag. This makes the ROC histogram better for capturing rapid 3-4 wave pulses, as you noted.
Example Usage
For a stock with 3-4 wave pulses on a 5-minute chart:
Wave 1 (Flow): ROC rises above zero, histogram turns bright green (rising momentum), indicating a strong bullish pulse.
Wave 2 (Ebb): ROC falls below zero, histogram shifts to bright red (falling momentum), signaling a corrective pullback.
Wave 3 (Flow): ROC crosses back above zero, histogram becomes bright green again, confirming a powerful pulse.
Wave 4 (Ebb): ROC dips slightly, histogram turns light green (falling momentum above zero) or light red (rising momentum below zero), indicating consolidation.
Alerts trigger on zero-line crosses (e.g., from Wave 2 to Wave 3), helping time trades.
Settings Recommendations
Default (length=9): Works well for most time frames, balancing sensitivity and smoothness.
Intraday Pulses: Use length=5 or length=7 for faster signals on 5-minute or 15-minute charts.
Daily Charts: Try length=12 or length=14 for broader wave cycles.
Testing: Apply to a stock with clear wave patterns (e.g., tech stocks like AAPL or TSLA) and adjust length to match the pulse frequency you observe.
Notes
Confirmation: Pair the ROC histogram with price action (e.g., Fibonacci retracements, support/resistance) to validate wave counts, as momentum oscillators can be noisy in choppy markets.
Divergences: Watch for divergences (e.g., price makes a higher high, but ROC histogram bars are lower) to spot wave reversals, especially at Wave 3 or C ends.
Comparison to MACD: The ROC histogram is faster and more direct, making it ideal for short-term pulse waves, but it may be more volatile, so use with technical levels for precision.
RSI_Heikinashi📜 Title:
Heikin-Ashi RSI Candle Plot with Multi-Timeframe Analysis and EMA Overlay
📖 Full Description:
This is an original custom indicator that transforms the traditional Relative Strength Index (RSI) into a Heikin-Ashi (HA) candle representation, allowing traders to visualize RSI trends with greater clarity, less noise, and multi-timeframe perspective.
🛠️ Core Concept and Original Method:
Rather than plotting a single RSI line, this script recalculates RSI into a Heikin-Ashi candle format, using a double EMA smoothing method on the RSI data itself.
Here's how the transformation works:
RSI Calculation:
RSI is computed traditionally using Wilder's Moving Average (RMA) for smoothing gains and losses.
The RSI period and price source are fully customizable (default length = 28, source = close).
Heikin-Ashi Style Smoothing (applied to RSI):
The HA Close is calculated as the EMA of the average between the current RSI and previous HA Close.
The HA Open is calculated as the EMA of the average between the previous HA Open and the current HA Close.
The HA High and HA Low are dynamically calculated based on the maximum/minimum values of the current RSI, HA Open, and HA Close.
Smoothing is done via 5-period EMA, which adds a unique layer of trend smoothing without traditional price-based HA calculation.
Multi-Timeframe Comparison:
In addition to plotting the chart timeframe HA RSI, the indicator retrieves the 1-hour timeframe HA RSI using request.security.
This allows traders to align trades with higher timeframe RSI trends, a powerful technique for multi-timeframe confirmation.
50 EMA Overlay:
A 50-period Exponential Moving Average (EMA) is plotted over both the chart timeframe HA RSI and the 1-hour HA RSI.
EMA acts as a trend filter or dynamic support/resistance for RSI behavior.
RSI Bands and Visual Aids:
Standard RSI bands at 70 (Overbought), 50 (Midline), and 30 (Oversold) are plotted.
A shaded background between the 30–70 levels helps highlight RSI range-bound movements versus breakout momentum.
🔥 Why this script is original and useful:
Unique Application:
This is not a simple RSI plot or standard Heikin-Ashi candle — it is a specialized smoothing method applied directly to RSI values for a clearer, noise-reduced momentum reading.
Multi-Timeframe Advantage:
Unlike typical RSI indicators, it includes a 1-hour timeframe comparison alongside the chart timeframe, improving decision-making across intraday and swing strategies.
Advanced Smoothing Logic:
Double EMA smoothing of RSI and HA-style recalculations offer a much smoother signal than traditional RSI or basic RSI/EMA crossovers.
Visualized Trend Strength:
Using colored candles instead of just a line enhances readability and gives an intuitive sense of momentum direction, strength, and possible reversals.
Fully Customizable:
Traders can adjust the RSI period and source depending on asset volatility or timeframe preferences.
📋 How to Use:
Look for HA RSI candles color changes for early momentum shifts.
Use the 50 EMA crossovers on HA RSI to confirm larger trend changes.
Compare chart timeframe vs 1H timeframe HA RSI for stronger signal alignment.
Watch for overbought/oversold breaks beyond the 70/30 bands for trade entries or exits.
⚙️ Inputs:
RSI Length (Default: 28)
RSI Source (Default: Close)
📢 Important Note:
This script is originally conceptualized and custom-built.
It is not a mashup of existing open-source indicators and introduces a new smoothing technique for RSI visualization.
🙏 Credits:
Script developed by Sri_RSI.
Market Structure Confluence [AlgoAlpha]OVERVIEW
This script is called "Market Structure Confluence" and it combines classic market structure analysis with a dynamic volatility-based band system to detect shifts in trend and momentum more reliably. It tracks key swing points (higher highs, higher lows, lower highs, lower lows) to define the trend, then overlays a basis and ATR-smoothed volatility bands to catch rejection signals and highlight potential inflection points in the market.
CONCEPTS
Market structure is the foundation of price action trading, focusing on the relationship between successive highs and lows to understand trend conditions. Break of Structure (BOS) and Change of Character (CHoCH) events are important because they signal when a market might be shifting direction. This script enhances traditional structure by integrating volatility bands, which act like dynamic support/resistance zones based on ATR, allowing it to capture momentum surges and rejections beyond just structural shifts.
FEATURES
Swing Detection: It detects and labels Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) based on user-defined time horizons, helping traders quickly spot the trend direction.
BOS and CHoCH Lines: When a previous swing point is broken, the script automatically plots a Break of Structure (BOS) line. If the break represents a major trend reversal (a CHoCH), it is marked differently to separate simple breakouts from real trend changes.
Rejection Signals: Special arrows plot when price pierces a band and then pulls back, suggesting a potential trap move or rejection signal in the direction of the new structure.
Alerts: Built-in alerts for structure breaks, CHoCHs, swing points, rejections at bands, and trend flips make it easy to automate setups without manually watching the chart.
USAGE
Set your preferred swing detection size depending on your timeframe and trading style — smaller numbers for intraday, larger numbers for swing trading. Choose whether you want BOS/CHoCH confirmed by candle closes or by wick breaks. Use the volatility band settings to fine-tune how tightly or loosely the bands hug the price, adjusting sensitivity based on market conditions. When a BOS or CHoCH occurs, or when a rejection happens at the bands, the script will highlight it clearly and optionally trigger alerts. Watch for combinations where both structure breaks and volatility band rejections happen together — those are high-quality trade signals. This setup works best when used with basic trend filtering and higher timeframe confirmation.